Tan, Arccos, Arcsin, and Arctan give incorrect values

Tech Note: TN0005
Product: RPvdsEx
Version: All
Date Added: 2002-08-20

Issue

The Trigonometry components: Tan, Arccos, Arcsin, and Arctan give incorrect values. For example:

  • Tan(pi/4) should be 1, but the component's output is 33851.8
  • Arccos(-1) should be pi (3.14159), but the component's output is 3.09164
  • Arcsin(1) should be pi/2 (1.5708), but the component's output is 1.52085
  • Arctan(1) should be pi/4 (.785398), but the component's output is 0.785812

The Tan component should not be used until it is fixed in a new version. The Arccos, Arcsin, and Arctan components should not be used in applications requiring very precise values, until they are fixed in a new version.